package ifmo.compiler.task21.lexer.tokens;

/**
 * Decimal token.
 *
 * @author byaminov
 */
public class Decimal extends Token<Integer> {

    private int value;

    protected Decimal(String value) {
        super(TokenType.DECIMAL);
        this.value = Integer.parseInt(value);
    }

    public Integer getValue() {
        return value;
    }
}
